<html>
<body>
Reports any TestNG <b>assert</b> calls which can be replaced by simpler but equivalent calls.
<table>
  <tr><th>Example</th><th>&rarr;</th><th>Replacement</th></tr>

  <tr>
    <td><code>assertEquals(x(), <b>true</b>);</code></td>
    <td></td>
    <td><code>assertTrue(x());</code></td>
  </tr>
  <tr>
    <td><code>assertTrue(y() != null);</code></td>
    <td></td>
    <td><code>assertNotNull(y());</code></td>
  </tr>
  <tr>
    <td><code>assertTrue(z == z());</code></td>
    <td></td>
    <td><code>assertSame(z, z());</code></td>
  </tr>
  <tr>
    <td><code>assertTrue(a.equals(a()));</code></td>
    <td></td>
    <td><code>assertEquals(a, a());</code></td>
  </tr>
  <tr>
    <td><code>assertTrue(<b>false</b>);</code></td>
    <td></td>
    <td><code>fail();</code></td>
  </tr>
</table>
<small>New in 2017.1</small>
</body>
</html>